-- Leviathan (c) v.v.balashoff
local Class = require('leviathan/Class')

local MouseClickComponent = Class:derive('MouseClickComponent')

function MouseClickComponent:new(func, button, event)
    self.id = 'MouseClickComponent'
    self.typeId = 'Mouse' -- TODO is it needed?
    self.drawable = false
    self.enabled = true
    self.func = func
    self.button = button
    self.event = event
end

return MouseClickComponent
